/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package java1;

import java.util.Scanner;

/**
 *
 * @author Yu
 */
public class SC {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
          Scanner sc = new Scanner(System.in);
	  System.out.println("請輸入整數 : ");
	  int a =sc.nextInt( );
	  
	  System.out.println("請輸入浮點數 : ");
	  double b=sc.nextDouble( );	  
	  
	  System.out.println("請輸入布林值 : ");
	  boolean c=sc.nextBoolean( );
	  
	  System.out.println(a+"  "+  b+"  "+c);
	  
	  System.out.println("請輸入文字 : ");
	  String d=sc.next( );
	  
	  System.out.print(d);
	  
	  
    }
    
}
